<!DOCTYPE html>
<html lang="zh-cn">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="renderer" content="webkit">
  <title>订单</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
    crossorigin="anonymous">
  <link rel="stylesheet" href="../../css/pintuer.css">
  <link rel="stylesheet" href="../../css/admin.css">
  <link rel="stylesheet" href="../../css/mystyle.css">
  <script src="../../js/jquery.js"></script>
  <script src="../../js/pintuer.js"></script>
  <script src="./index.js"></script>
  <style>
    /* .panel .border-back .card{
          margin-top: 20px;
        } */
    </style>
</head>

<body>
  <!-- ----------------------------------------------------------------------- -->
  <audio src="./用户.mp3" id="myaudio" controls="controls" hidden="true"></audio>
  <div class="panel  card  ">
    <div class="panel-head  bg-sub " id="panelheader">
      <strong style=" color: aliceblue">桌号 NO.3</strong>
      <strong style=" float: right;color: aliceblue" id="total"></strong>
    </div>
    <div class="panel-body">
      <div class="line">
        <div class="x11">
          <table class="table table-hover text-center  table-bordered">
            <thead>
              <tr class=" tab-head">
                <th width="100">图片</th>
                <th>酒名</th>
                <th>数量</th>
                <th>单价</th>
                <th>时间</th>
              </tr>
            </thead>
            <tbody id="tbody">
            </tbody>
          </table>
        </div>
        <div class="x3 float-right ">
          <div class="button-group float-right   ">
            <button class="button bg-sub" onclick="" id="submit"><span class="icon-check-square-o"></span>确认</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
<script type="text/javascript">
  $('#submit').click(function () {
    if (confirm('请及时处理')) {
      modifyData(3)
    }
  })
  // 请求所有数据
  window.onload = function () {
    fetchData(3)
  }
</script>

</html>